<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:63:"D:\wamp\www\serv\public/../application/admin\view\user\add.html";i:1554727864;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>adduser</title>
    <style>
        input,select{
            margin: 5px;
            height: 20px;
            width: 150px;
            line-height: 20px;
            /* text-align: center; */
        }
    </style>
</head>

<body>
    <form action="<?php echo url('doadduser'); ?>">
        username:        <input type="text" name="username" placeholder="username"><br>
        password:        <input type="password" name="password" placeholder="password"><br>
        PhoneNumber:     <input type="text" name="phoneNum" placeholder="phoneNum"><br>
        E-mail:          <input type="email" name="email" placeholder="email"><br>
        select your role:<select name="rid" id="role">
            <?php if(is_array($rolesa) || $rolesa instanceof \think\Collection || $rolesa instanceof \think\Paginator): $i = 0; $__LIST__ = $rolesa;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <option value="<?php echo $vo['rid']; ?>"><?php echo $vo['rname']; ?></option>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </select><br>
        <input type="submit" value="do">
    </form>

</body>

</html>
